package com.cmc.cloud.cmclink.doc.vo.blnovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 周贤
 * @date 2025/11/6
 */
@Schema(description = "管理后台 - check si 提交参数")
@Data
@EqualsAndHashCode()
@AllArgsConstructor
@NoArgsConstructor
@ToString()
@Builder
public class BlnoCntrCntaoReqVO {

    @Schema(description = "装货港" ,requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "{BlnoCntrCntaoReqVO.portCode.NotEmpty}")
    private String portCode ;

    @Schema(description = "订舱船名")
    @NotEmpty(message = "{BlnoCntrCntaoReqVO.bkgVesselCode.NotEmpty}")
    private String bkgVesselCode;

    @Schema(description = "订舱航次")
    @NotEmpty(message = "{BlnoCntrCntaoReqVO.bkgVoyage.NotEmpty}")
    private String bkgVoyage;

    @Schema(description = "青岛码头箱信息文件")
    @NotNull(message = "码头箱信息文件不能为空")
    private MultipartFile file;


}
